<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script>
    function repaintTest()
    {
        document.getElementById('inner2').style.display = 'block';
    }
</script>
<body style="margin: 100px" onload="runRepaintAndPixelTest()">
    <div id="outer" style="box-shadow: 40px -40px #F00;">
        <div id="inner1" style="height: 100px; background-color: blue"></div>
        <div id="inner2" style="display: none; height: 100px; background-color: green"></div>
    </div>
</body>
